package com.cyq.dascma.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cyq.dascma.dto.ScheduleDto;
import com.cyq.dascma.entity.Schedule;
import com.cyq.dascma.mapper.ScheduleMapper;
import com.cyq.dascma.service.ScheduleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 *
 * dingwen
 * 2021/4/4 17:58
 **/
@Service
public class ScheduleServiceImpl extends ServiceImpl<ScheduleMapper, Schedule> implements ScheduleService {

    private final ScheduleMapper scheduleMapper;

    @Autowired
    ScheduleServiceImpl(ScheduleMapper scheduleMapper){
        this.scheduleMapper = scheduleMapper;
    }
    @Override
    public List<ScheduleDto> findScheduleInfoList(Map<String, Object> params) {
        return scheduleMapper.findScheduleInfoList(params);
    }
}
